#!/bin/sh

seed="$(cat .seed)"
if [ -z "$seed" ]; then
    seed=0
fi

guile daydreamer.scm daydreamer.scm.png "$seed"
python3 toot.py beeping.town .client .user daydreamer.scm.png "$seed"

seed="$(expr "$seed" + 1)"

echo "$seed" > .seed
